ConnectorNotFoundException
| Kind of class: | class |
|---|---|
| Inherits from: | Error |
| Author: | The gotoAndPlay() Team http://www.smartfoxserver.com http://www.gotoandplay.it |
| Classpath: | com.smartfoxserver.redbox.exceptions.ConnectorNotFoundException |
| File last modified: | Tuesday, 24 June 2008, 17:12:44 |
A RedBox exception.
Constructor
ConnectorNotFoundException
function ConnectorNotFoundException (
)
Thrown when SmartFoxBits Connector is not placed on the Stage.
The RedBox classes make an extensive use of the SmartFoxBits Connector's s event handler in order to communicate with SmartFoxServer.
To achieve this you should place the Connector on a frame before you use RedBox classes on the following frame(s) or to make sure that the Connector is on the lowest layer of the timeline, and set the "Load order" option in the Flash Publish Settings to "Bottom up".
The RedBox classes make an extensive use of the SmartFoxBits Connector's s event handler in order to communicate with SmartFoxServer.
To achieve this you should place the Connector on a frame before you use RedBox classes on the following frame(s) or to make sure that the Connector is on the lowest layer of the timeline, and set the "Load order" option in the Flash Publish Settings to "Bottom up".
Example:
- The following example shows how to handle the "ConnectorNotFoundException" exception.
try { var avClipMan:AVClipManager = new AVChatManager(smartFox, "127.0.0.1", true) } catch (err:ConnectorNotFoundException) { trace (err.message) }